-
Home
-
Offload, AI & Optimize with Cloudflare Images
-
1.1.5
-
Code
-
Classes
- Core
Total Complexity |
111 |
Dependencies |
12 |
Dependents |
1 |
Total lines |
973 |
Lines of code |
410 |
Logical lines of code |
262 |
Comment lines |
361 |
Methods |
26 |
Properties |
10 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_attachment_image_src() |
B |
43 |
18 |
43 |
ajax_bulk_process() |
A |
40 |
13 |
59 |
__construct() |
A |
44 |
11 |
43 |
upload_image() |
A |
48 |
7 |
32 |
content_img_tag() |
S |
55 |
6 |
18 |
prepare_attachment_for_js() |
S |
59 |
5 |
15 |
get_wp_query_args() |
S |
53 |
4 |
25 |
delete_image() |
S |
56 |
4 |
18 |
fetch_stats() |
S |
57 |
4 |
16 |
maybe_save_hash() |
S |
62 |
5 |
10 |
calculate_image_srcset() |
S |
60 |
4 |
13 |
ajax_offload_image() |
S |
55 |
3 |
19 |
enable_flexible_variants() |
S |
61 |
3 |
12 |
update_stats() |
S |
62 |
3 |
12 |
can_run() |
S |
71 |
3 |
6 |
check_ajax_request() |
S |
70 |
3 |
6 |
get_cdn_domain() |
S |
65 |
3 |
9 |
load_libs() |
S |
61 |
2 |
12 |
get_instance() |
S |
71 |
2 |
6 |
maybe_redirect_to_plugin_page() |
S |
67 |
2 |
8 |
get_plugin_name() |
S |
82 |
1 |
3 |
get_version() |
S |
82 |
1 |
3 |
populate_image_sizes() |
S |
72 |
1 |
5 |
ajax_skip_image() |
S |
70 |
1 |
6 |
init_integrations() |
S |
66 |
1 |
8 |
get_error() |
S |
82 |
1 |
3 |